package org.wendu.wdoa.apprev.service;

import org.wendu.wdoa.apprev.dto.leaveAddDto;
import org.wendu.wdoa.apprev.dto.leavequeryDto;
import org.wendu.wdoa.apprev.model.leave;
import org.wendu.wdoa.common.page.PageParam;

import java.util.List;
import java.util.Map;

public interface ApprevService {

    public  Map<String, Object> getUserLeaveList(String userId, PageParam pageParam);


    void insterLeave(String userId, leaveAddDto leaveAdd);

    void updateLeave(leave leave);

    void endLeave(leave leave);
}
